package com.xx.happychatboot.serve.user.mapper;

import com.xx.happychatboot.serve.user.domain.entity.UserFriend;
import com.xx.happychatboot.serve.user.domain.vo.response.UserFriendVo;
import io.mybatis.mapper.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户联系人表 Mapper 接口
 * </p>
 *
 * @author xiaoXuan
 * @since 2025-01-02
 */
public interface UserFriendMapper extends Mapper<UserFriend, Long> {

    List<UserFriendVo> getContactList(@Param("userId") Long userId);
}
